#!/usr/bin/env bash
set -e
cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1

sealos exec "/opt/nvidia-gpu-driver/NVIDIA-Linux-x86_64-535.86.05.run --uninstall --skip-module-unload"
sealos exec "rm -rf /opt/nvidia-gpu-driver"
